Check OSX before sourcing osx stuff
Check if hub is installed before running