correct filenames in script