Improve curl command