Removing sudo for update and other little script fixes