Installed fix, and switched to the adhoc script. Could connect to both infrastructure and adhoc networks.
Turning the screen off and back on would prevent the device from reconnecting to the last used network. I fixed this by getting an app called "Setting Profiles" I created two profiles, one to turn WiFi on and one to turn WiFi off. I set the rules to force WiFi off when putting the device to sleep, and turn the WiFi back on when waking back up.
This reconnects to the latest network the device was connected to. It ALSO fixes the random reboot problem where sleep mode clashes with WiFi being on.
I see no major reason to switch back to the regular infrastructure configuration, since everything's working great now.