Improve gingko script.
Improve Gingko script slightly.