replaced code I stupidly removed.
Added info for writing log.
Add support for dry run, add more error handling, fix rename script calling
Add gitignore