Added debug script