add code from old header to meta