Add misc scripts
Also add Tern, which doesnt' work right now