added -L flag for following redirects