modified sh file to update bdd and cmp