Update to new queueptr and static runtime