Revert "updated script from kensykora/feature/issue-83 + try/catch and LogWrite"

This reverts commit bf72e7e7518b4ed4e2697bb552684ea4c32e3ad7.