Added sudo to chmod