added a programm handler to save ressources on laptops