commented debug script