added log scripts