Added better alert messaging.