added debugging script