adds sudo to wondershpaer command call