Replaced alerts and redirects.