Configfile + MacOS support

Thanks to @lkmikkel there is now support for a configfile and Mac OS X.