added execute-before/after options