add rebooting ability to setPowerState, add community option