This can't be short cut due to the logic in the script currently... Right now, it will exit if ANY of the values are incorrect before committing anything.  If you change the logic, then you could apply only SOME of the permissions to the bucket.  

This of course can be re-written, but I believe is intentional as a safe guard.