chmod header and menu