moved debug to test script dir