Modified order of closures for building WAR