Getting unique host aliases and ip addresses.
Adding 0 compute resource condition
Removing unwanted code.