Changed line ending of curlscript functions, before it woudln't work.