Added truncate log scripts