add args to footer hook