mk_script sends filename to curl -OJ