Added an option to run on  OS X.