New version for creating settings file