Fix issue so it works when settings file doesn't exist