How do I script a coffee machine?