Added redirect feature.