add script for displaying messagebox