modify script for target file name