Added power and power button functionality