added watch and log as globals (not doc'd)