adding config to external file