update dfhack lua script for offset export