Hacky but everything kinda works end-to-end.