Add script to populate XD