Avoid duplicating array
Move find_license_file functionality to a separate function
Use one less command to install the license file