Made header a dynamic element