Fixed error on console application
Added uninstall
fixed migration without uninstall