Fixed sudo issues