Added comment
removed inifile dependency
Use proper key from hash with db details