redirection and the flash