Scripts used for home automation