Crude but *should* make it work.