Mark's scripting examples