Add -L flag to curl