Create dvr_generator.py