clean hooks, proxies and key files