scripts modified because of changing filenames