adding sudo to chmod

I thought this script was running with sudo, but I guess not.