Fix to rename script files