Simple pattern script