Minor tweaks to the run script for ACLA:
1) capture output and log it
2) acc to cfg grammar conversion function