updated script to reflect local monitor changes and fixed check for DL existing when choosing layout for HDMI