added support for uninstalling the package, changed from using package resource to exec to handle both
fixed install exec to add -i