added install target to magic