Fixed install/uninstall extension scripts