Modified script to print out debug information