Create DMcapture.py