Enable/Disable Pm

Added an option to enable/ disable the pm system