scripts for monitors, logout and change layout