docs fix, friction error fix, added some build scripts