some new organization for the genx script