Fix configuration for production