Added check for unset DISPLAY