Now uses config for host and database