replaced static with generated footer