simple astdump script