Fixed issue with production and userconfig