add mongo query script