cleanup and sh to bash