Create example_script.py

Parts were pulled from various examples I found online and modified for use in this application.