Added ability to upgrade before installing generators