added options to save_mongo_query