Change variable scope

Change the scope of the $lower_fqdn variable.