debugged scripts