fixed all scripts