Updated build file to automatically remove duplicate copyright blocks