Updated initialize.sh to work properly on OSX and any other BSD based system.