correct domain redirect script