Fixup setup.sh to work with bundles.