add config setting for production and testing