changed how environments are set and added a facetflow config file