add my debug script which is used for pretty printing