Added function trigger, create curl, exec_curl