Getting script to print