added sudo's and changed repository dir for extraction