adding sudo only to linux scripts