add debug bash script