trying new file write for settings