minor fixes and added op command