add license and copyright header where missing