Use local scripts to abide by Content Security Policy and reorganize files