Using correct path for settings file, not just setting it's value.