tweaked build scripts, updated docs to explain them