Test correction
update.sh : change sh to bash
            Adding debug function and debug trace. Change value of DEBUG
            to 1 to activate trace