Rather than editing the filepath, resolution, etc. this should be set on the command line. Note that the reader and the driver (which passes options) should be kept separate so that the reader can still be used programmatically.