sudo was in the wrong spot