new uninstall function ... learned from scriptingguy