Improve the command operate