Porting to openwf