rename files and write installer python script