Add autogen script.