Work-in-progress towards being able to run ir for real