add variable to control showing/hiding footer ads