Added parameter to switch off screen