on afterExec