Python Script that prevents your Mac from sleeping when an external display is connected