Map auto Generate script