Check if DISPLAY_IP is defined before using it