Curl script in header