Added war building to the script.