Made small fix to command-line profile loading.