Additional changes - can $dbh be a global?