fqdn script changes - bug fixes after testing modules.