Adjust script to new filename format