Minor fixes to render.sh.