adding osx config script, thanks mathias bynens