use explicit 'webappDirectory'