Fixes issues #73 & #62 by following redirects and properly specifying
args for both curl and wget, also fixed unreported error:
'stdin: is not a tty'
Made wget command silent, Fixed issue #62: updated curl command to follow redirects