Small fixes to curl command