Script to record the desktop