added header and footer options