Log is rewritten in each script running