Fix ROOT_DIR bug.
Add missing "-y".
Add missing "sudo"s.