simplified script