adding script to print files