support to run in OSX