Got rotateto and rotateby commands working