Add sudo support where it's missing