switched to config file instead of cli params, added support for nearby
added example config
fixed convenience shell script for mac