Changed the script to use netcfg instead of netcfg2 like is in the current repositories of Arch Linux. Also changed so that it restarts the current wireless interface instead of one called 'wlan0'
Added a root check