Handle trigger rules if there only are one
Added uninstall script. Delete any variables on delete