Adding config into file