Re installing motion sensors, any reasonable recording software should do this for you: on my setup (which is not a security program, so I won't bother naming it) I simply draw a box over the bit of screen I want it to monitor. It ignores motion in other areas of the screen, but if the target area has motion, it records from 20 seconds before the motion started to 20 seconds after it finishes.