Fixed import on upgradecontroller
Improved command error displaying