Added sudo for ed