Added debugging information to fetch script

I tested it out and it worked with a shutdown script of the maximum size. I'll move forward and merge with your LGTM.