Add external scripts and organize structure