simplify
rewrite build scripts