Added redirect snippet