Updated Mongo Script