move script to one file, rename and remove files