adapted config for production