added support for collection settings
Merge pull request #760 from viji-m/master

added support for collection settings