Added random effects and runid character arguments