Bug on scriptLogs