add script to automatically update licences from templates