Add args to footer hook