edited mongo scripts