replaced lynx with curl