make host parameter to enable using an external sql database