add sudo support