Removing unnecessary sudo instruction