Fixes to curl commands