Add licensing and file descriptions to scripts in lib