Added config.env method