update config and add standard footer