add some debug scripts