done checking cluster mongodb in script +
done checking cluster mongodb in script +Refactoring