Added more data output to debug script