updated build scripts.
simplified build scripts.