divide config and config env