Update the frequent mode logic, fix the production settings.