added option to replace footer html