beginnings of an automation script