deploy scipt granted 777 permission