updated runblock to work with token object