Added licence legal codes
Improved supplement generation