Wrote buildfrontend.sh.