Added options to box footer function