update syntax and remove flag that moves mouse