Updated WPA master and sunjaymain so it can handle multiple IP addresses