Fix the mongo restore script