Adding debug script