added parameters when runnning stats with a bg model