Adding Sean's original script.
Edited the script for different prints