Added startup code to recalculate ranks when settings file is specified