Combine scripts and move to different location

Now, the script will only be called when wlan0 goes up or down, rather
than for each time any interface changes.