Better generate.sh from LCA2014.