Allow for multiple ALLOW_NETWORKS and DENY_NETWORKS

Currently the for loop for looping over ALLOW_NETWORKS and DENY_NETWORKS has double quotes around it. This means that all the networks will be treated as a single value and each loop will only happen once (assuming a value has been specified.) The double quotes need to be removed so that multiple networks can be configured.