curl option to follow redirects

Added option to curl to follow redirects. prevent from having messages like 301 'moved permanently'