Added force parameter to ensure webapp directories are removed if necessary