update to log script