Modify base and footer and numpy