production and dev mode -p flag