Adding debug scripts