Re-indent and add copyright notice