Added a rotation script, improved docenter.