use autogen script