identify bug
split build scripts