now handles war files in the webapps dir correctly