db_update.pl DB upgrade script - Linux Fixes