Updating and fixing bash installer

I have change and try with many vms (Ubuntu 12.04 server) this changes