adding debug functionality: screen recording.