Add power command, fix init process, and fix deinit regex