Minor fix for directory changing. Add ability to import war files.