setup hets.magic file