add licence (closes #3601)