write configuration in file to see if it works