Improved build process with `wr`
Save final files to `scripts`. Build intermediate files in `lib`.
Snip console.info in test.