adds mongodb and modifies play format