Add network alias code in another place