Fix base.sh to produce working basebox.