added config environment merge feature