Restructure script and add some more script.
Add external scripts