Update install/uninstall script for compatibility