Fixed up show_alternative to handle session variables