simplified script range generation