- changed the way to check whether the script is already running:
now: check if log.txt is there