changes to the index file
adjusted message box