Added sudo in front of search and set script