Modifies header command to take optional argument for right footer