found out rotation script can be much simpler, removed excess junk