Added support for HEAD tag - prevent 404 errors