Essentially works the way binarynate described in another comment, just with licensing added in as well.
Essentially works the way binarynate described in another comment, just with licensing added in as well.