created update script for mac and ubuntu, added host lookup