use  when cloning repo and updating submodules
update for bash 4
Merge pull request #2 from martynovs/master

some updates