If you want to operate an X-ray facility for materials testing, you need a permit.
You also need a permit for the significant change to an X-ray device for material testing.