hook instead of advice for sudo editing