calling sudo correctly