added config enviroment merge feature