Added new database support
Fixed issue with a missing '}'