Made rollout.sh more robust.