updated script to reset mongoDB database content