Fixing curl commands