Created the rotator script.