adding license files, and a safety check.