added data.event switch to brico
added args to funcs for wimpy fern module