modified to work on osx/kalabox