Refine provision.sh.