Create rec.py