added switch to clear webroot directory before starting