Added webDir variable to the framework.