Updated the truncate script to be executable