updated curl commands to use the -T switch instead