Thanks for sharing, I've been trying to learn scripting and it's helpful to see other people's examples!