make loadSettings reusable as per #53