allow profile name to be specified on command-line