Changed printing to be alert boxes.