Added apache licence to `xref_check` scripts.