Fixed many bugs, removed poweron/off scripts.