First deal with flags, then ask for root. Also added check for 'wget'

I had a issue with 'wget'. 'wget' is not by default in Arch Linux, so I added a check for it. 
Also when adding the -h or -v flag, it should not check for root. Root is not required to get the help screen or version number. So I moved the check for root.