removed -L flag from curl