Adding the debug scripts