Make curl follow redirects

Added the `-L` switch to make curl follow redirects
Merge pull request #1 from pNre/patch-1

Make curl follow redirects