Add auto-generate script into synchronize action