Changed footer date display to support new environment variable. Fix #1 and Fix #128