I think this should be possible. @wasade you're more familiar with this code- do you think this would work?