crude rotation script