Create power.sh

Moved power.sh script to a separate script