macosx env setup
env setup
no need to define every function