Create pre-relay.py

Created