setup the head section code