fixing and adding rename script