Checking OSTYPE for OS X specific commands. Fixing command prompt with history. Adding solr1 to the list of domains