added customisation of header and footer details