better build script. some documentation stuff