Added footer; fixed require call