restore some files after inserting license