Text this: Effects of annealing on structure and magnetic properties of semiconductors