logging to integrate script