moved footer, renamed template vars