using idealab scripts to generate Pattern guide