added "ENV" constant to config