Added sudo's to script
Added chmod