Added command line options and URL detection for WAR files.