Pymongo scripts