added path to database file as config variable