adding sudo where needed