Added ability to customize collection and database names.