How To Write Basic Automation Scripts