modify python header