enable after_success, after_failure and env