Optional loading of options from configuration
Document the loadOptions function