Leaf platform script