added call by string of function name to before_after extension