install magic