Got the thing working