Adding fqdn_ipaddress and stages config. Other fixes