removed, does not belong here
added better method of getting env config