Add stats to lm script. Closes #46