Adding mapdisplay code to screen