Fix and add copyright