used to configure the environment under MacOS