Fix executed scripts