Initial settings management code