Add contents to configuration file