Added functions to set config values or fall back with a default