mostly implemented output capture and reflection execution, ish