Added next scheduled run
Added support for headers/footers