added on-device debug script call