requiring sudo; added sudoer check function; changed variable, and function names; changed some spacing and indenting
changed variable and function names, spacing and indenting; sudo is required; removed need for trace variable