Scripts for home network automation