Mods to allow testing of non-flim plate generation. Comment out as appropriate.