continued on macro generation script.