more work on upgrade stuff... fixes some warnings
Smart is no longer available during the install/upgrade process.