added sudo to chmod doh!