Updated scripts with debug info