fixed default script flashing