fixup curl commands