add example to run script with curl.