powerswitch script