First deal with flags, then ask for root. Also added check for 'wget'
Merge pull request #12 from phantom94/improvements

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