added -L argument to curl commands