Updated minirivet to support outputting to a variable or a different channel