added functions to select more options for sudo