Adding random_template.py