added exit:1 methods in debug bash file, more testing..