Fixes #119 - Should now read from schema in config. If it is not set it will use dbname.