added ability to turn off prior from the command line