Updated the reset_truncate script.