Small changes on the upgrade script removing one of the calls to
determine the current directory.