Fixed production mode to use URI connect
Added write concern to production connect url