added production flag when rendering client