enure bin and out dirs exist
support linux

split whitelist logic into a common, standalone util with
platform specific code for osx and linux calling it