Add script for connecting to mongodb