Make rotate script work
Add shebang so it can be run as a command