Sets properly target folder when XHTML page is created