Fix for upgrade scripts