Fix #4 (ability to use the script on a server without a real display)