added log script