add script for build_war