Save and restore custom rotations