small change to update_scripts and working on autowrite stuff
autowriters for stats in