improved curl command