Added further options to control the metadata and processed input filenames