Inline redirect script