added ability to get a function from a settings string.