adding debugging script