combined accumu and generate scripts to avoid saving data to disk