using the webapp directive