added background templates to stochastic_avo script