improed message box and added score