Added production db hooks