Insert license copy and remove unneeded variables