Why won't my mouse script work?

import GameLogic as gl
import Rasterizer as R
cont = gl.getCurrentController()
own = cont.getOwner()
mouse = cont.getSensor("move")
rotz = cont.getActuator("rotz")
rotx = cont.getActuator("rotx")
ww = R.getWindowWidth()
wh = R.getWindowHeight()
xpos = mouse.getXPosition()
ypos = mouse.getYPosition()
z = (ww/2-xpos)*.003
x = (wh/2-ypos)*.001
rotz.setDRot(0, 0, z, False)
rotx.setDRot(x, 0, 0, True)
gl.addActiveActuator("rotz", True)
gl.addActiveActuator("rotx", True)
R.setMousePosition(ww/2, wh/2)

this reports no errors. my logic bricks are sensor “move” (mouse movement) attatched to python controller with script, then to two motion actuators, “rotz” and “rotx” . i don’t understand the issue ( i have tried using 1 and 0 as opposed to true and false, if that helps). any help?
o ya! i tried this on a cube, and a camera.

instead of having “rotZ”, True,

have rotZ, True