Adds user-defined function execution