Fixed license type bug
Updated indices