get html head and tail working again now.