add -L option to curl