Changed to display output in well instead of alert