automate log and eps generation