add script for mongodb