Add alias detection to web router script