Fixed wrong variable name
Renamed upgrade.pl to upgradedb to follow the same naming style as the rest of scripts