add genx script of standard 2