Added customisation changes.
Changes to implement rotation