update script to add prefix ranges