added thtme conditions on production environment