updated conf file to work with external database