implemented code to run sql uninstall